
// Source File Name:   SET_CD.java

package com.sunwayhorizo.health.hl7.datatypes;

import com.sunwayhorizo.health.hl7.common.VersionInfo;

import java.util.Set;


//            ANY, CD, BL, INT,
//            ST, IVL_CD

public interface SET_CD
    extends ANY
{

    public static final String RCS_ID = "$Header: SET_CD.java 1.07 2006/08/10 11:58:53 mmoores noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: SET_CD.java 1.0 2006/05/24 03:05:31 rassubra noship $", "com.sunwayhorizo.health.hl7.datatypes");

    public abstract BL contains(CD cd);

    public abstract BL isEmpty();

    public abstract BL notEmpty();

    public abstract BL contains(SET_CD set_cd);

    public abstract INT cardinality();

    public abstract SET_CD union(SET_CD set_cd);

    public abstract SET_CD union(CD cd);

    public abstract SET_CD except(CD cd);

    public abstract SET_CD except(SET_CD set_cd);

    public abstract SET_CD intersection(SET_CD set_cd);

    public abstract ST literal();

    public abstract IVL_CD hull();

    public abstract Set toSet();

}
